<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:t="http://myfaces.apache.org/tomahawk"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">

<h:form id="WMTreeForm">
	<ui:composition template="/paginas/contenedor.xhtml">
		<ui:define name="detailsPanel">
			<h:messages showDetail="true" showSummary="true"></h:messages>
			<br />
			<table align="center">
				<tr>
					<td><h:outputLabel value="Direccion IP" />
					</td>
					<td><h:inputText value="#{gridBean.gridNodoEditar.ip}" />
					</td>
				</tr>

				<tr>
					<td><h:outputLabel value="Ruta Jar" />
					</td>
					<td><h:inputText value="#{gridBean.gridNodoEditar.jar}" />
					</td>
				</tr>

				<tr>
					<td><h:outputLabel value="Estado" />
					</td>
					<td><h:selectOneMenu value="#{gridBean.estadoEditar.idEstado}"
							converter="javax.faces.Integer" converterMessage="mal">
							<f:selectItems value="#{gridBean.estadosSelect}" />
						</h:selectOneMenu>
					</td>
				</tr>

				<tr>
					<td colspan="1"><h:commandButton value="Guardar Cambios"
							action="#{gridBean.editar}"
							onclick="return confirm('Esta seguro de guardar los cambios realizados?')" />
					</td>
				</tr>

			</table>
		</ui:define>
	</ui:composition>
</h:form>
</html>